export interface RegisterRes {
     code: string;
     msg: string;
     timestamp: number;
     data: RegisterResData;
     ok: boolean;
};

export interface RegisterResData {
     totalCount: number;
     list: Array<RegisterInfo>;
     statReg:{
          reservedCount: number;
          registerCount: number;
          diagnosedCount: number;
          refundedCount: number;
          expiredCount: number;
     }
};

export interface RegisterInfo {
     registerId: number;
     visitNo: string;
     visitDate: Date;
     visitPeriod: string;
     visitSeqNo: number;
     visitStartTime: string;
     visitEndTime: string;
     regMethod: string;
     regChannel: string;
     doctorId: number;
     doctorName?: any;
     deptId: number;
     deptName?: any;
     roomId: number;
     roomName?: any;
     visitType: string;
     regType: string;
     regFee: number;
     regStatus: string;
     payStatus: string;
     patientId: number;
     patientName: string;
     patientGender: string;
     patientPhone: string;
     idCard?: any;
     solarBirthday?: any;
     lunarBirthday?: any;
     ageYear?: any;
     ageMonth?: any;
     remark?: any;
     orderId: number;
};


export interface DoctorRes {
     code: string;
     msg: string;
     timestamp: number;
     data: Array<DoctorResData>;
     ok: boolean;
};

export interface DoctorResData {
     doctorId: number;
     doctorName: string;
     reservedCount: number;
     registerCount: number;
     checkinCount: number;
     diagnosedCount: number;
};




export interface RegStatResponse {
     code?: any;
     msg?: any;
     timestamp: number;
     data: RegStatResponseData;
};

export interface RegStatResponseData {
     reservedCount: number;
     registerCount: number;
     diagnosedCount: number;
     refundedCount: number;
     expiredCount: number;
};


